13. Case Study in Python
Case Study in Python
Use the Jupyter notebook to analyze
admission_data.csv
to find the following values and for the quizzes below. Indexing, query, and groupby may come in handy!
- Proportion and admission rate for each gender
- Proportion and admission rate for physics majors of each gender
- Proportion and admission rate for chemistry majors of each gender
- Admission rate for each major
Workspace
This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity , so you may be able to download them there.
Workspace Information:
- Default file path:
- Workspace type: jupyter
- Opened files (when workspace is loaded): n/a
QUIZ QUESTION: :
Match the correct values
ANSWER CHOICES:
Feature |
Value |
---|---|
0.486 |
|
0.287938 |
|
0.514 |
|
0.485597 |
SOLUTION:
Feature |
Value |
---|---|
0.486 |
|
0.287938 |
|
0.514 |
|
0.485597 |
SOLUTION:
MalesQUIZ QUESTION: :
Match the correct values
ANSWER CHOICES:
Feature |
Value |
---|---|
0.742 |
|
0.516 |
|
0.926 |
|
0.121 |
SOLUTION:
Feature |
Value |
---|---|
0.742 |
|
0.516 |
|
0.926 |
|
0.121 |
SOLUTION:
FemalesSOLUTION:
MalesQUIZ QUESTION: :
Match the correct values
ANSWER CHOICES:
Feature |
Value |
---|---|
0.074 |
|
0.879 |
|
0.226 |
|
0.111 |
SOLUTION:
Feature |
Value |
---|---|
0.074 |
|
0.879 |
|
0.226 |
|
0.111 |
SOLUTION:
FemalesSOLUTION:
FemalesSOLUTION:
ChemistryReflect
QUESTION:
Take a moment to organize and explain what just happened.
ANSWER:
Can you think of other situations where Simpson's Paradox could occur?